package DBLayer;

import java.util.ArrayList;
import ModelLayer.PartOrder;

public interface IFDBPartOrder {
	
	// get all Department
    public ArrayList<PartOrder> getAll(boolean retriveAssociation);
    //get one Departmen having the dno
    public PartOrder findProduct(int id, boolean retriveAssociation);
    //find one department having the department name 
    
    public int insert(PartOrder dept) throws Exception;
    //update department
    public int update(PartOrder dept);
    //delete department
    public int delete(PartOrder dept);

}
